<ul>
<?if (count($this->ret) > 0):?>
<?foreach ($this->ret as $i=>$row):?>
<li <?if($i%3==0):?>class="nomargin"<?endif;?>>
	<div class="avatar50">
		<a href="/?uid=<?=$row['uid']?>" title="<?if (self::$is_self) {
			echo $row['remark'] ? htmlspecialchars($row['remark']) : htmlspecialchars($row['username']);} 
			else {echo htmlspecialchars($row['username']);}?>">
		<img _src="<?=avatar_util_saver::get_path($row['uid'], 50)?>" width="50px" height="50px" /></a>
	</div>
	<div class="uname ">
		<?if(Util::isOnline($row['uid'])):?><i:online xmlns:i="178"/><?endif;?>
		<a href="/?uid=<?=$row['uid']?>" title="<?if (self::$is_self) {
			echo $row['remark'] ? htmlspecialchars($row['remark']) : htmlspecialchars($row['username']);} 
			else {echo htmlspecialchars($row['username']);}?> <?if ($row['is_check']):?>(已通过魔兽身份认证)<?endif;?>" <?if ($row['is_check']):?>class="a-id-right dynamic-name"<?endif;?>>
		<?= htmlspecialchars($row['username'])?></a>
	</div>
</li>
<?endforeach;?>
<?else:?>
	<li>还没有好友</li>
<?endif;?>
</ul>